<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8" />
    <title>标题--标签</title>
    <style>
        .marquee {
            width: 100%;
            white-space: nowrap;
            overflow: hidden;
            box-sizing: border-box;
        }

        .marquee-text {
            display: inline-block;
            padding-left: 100%;
            animation: marquee 10s linear infinite;
        }

        @keyframes marquee {
            0% {
                transform: translateX(0);
            }
            100% {
                transform: translateX(-100%);
            }
        }
    </style>
</head>
<body>
    <div class="marquee">
        <span class="marquee-text">cursor</span>
    </div>
</body>
</html>